package com.cloud.wms.ui.main.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * @Author:Chen
 * @Date: 2021-01-15 17:26
 * @Description:
 */
public class MemberEntity implements Parcelable {

    /**
     * memberID : 0
     * memberNo : string
     * memberName : string
     * memberType : 0
     */

    protected long memberID;
    protected String memberNo;
    protected String memberName;
    protected int memberType;

    public long getMemberID() {
        return memberID;
    }

    public void setMemberID(long memberID) {
        this.memberID = memberID;
    }

    public String getMemberNo() {
        return memberNo;
    }

    public void setMemberNo(String memberNo) {
        this.memberNo = memberNo;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public int getMemberType() {
        return memberType;
    }

    public void setMemberType(int memberType) {
        this.memberType = memberType;
    }

    public MemberEntity() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeLong(this.memberID);
        dest.writeString(this.memberNo);
        dest.writeString(this.memberName);
        dest.writeInt(this.memberType);
    }

    protected MemberEntity(Parcel in) {
        this.memberID = in.readLong();
        this.memberNo = in.readString();
        this.memberName = in.readString();
        this.memberType = in.readInt();
    }

}
